package org.javaboy.vhr.mapper;

import org.apache.ibatis.annotations.Param;
import org.javaboy.vhr.model.Employee;
import org.javaboy.vhr.model.Employeeec;
import org.javaboy.vhr.vo.EmpEcVo;

import java.util.Date;
import java.util.List;

public interface EmployeeecMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Employeeec record);

    int insertSelective(Employeeec record);

    Employeeec selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employeeec record);

    int updateByPrimaryKey(Employeeec record);

     //查询出表中共有多少条记录
    Long getTotal(@Param("emp") Employeeec ec,@Param("beginDateScope") Date[] beginDateScope);

    List<EmpEcVo> getEmployeeecByPage(@Param("page") Integer page, @Param("size") Integer size, @Param("ec") Employeeec employeeec, @Param("beginDateScope") Date[] beginDateScope);

    List<Employee> getTotalEmployee ();

    int updateSelective(Employeeec employeeec);
}
